<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="utf-8" lang="utf-8">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo isset($title) ? $title : "久灵律师事务所"; ?></title>
        <link rel="stylesheet" type="text/css" href="/assets/css/main.css"/>
        <link rel="stylesheet" type="text/css" href="/assets/css/auth_create.css"/>
        <script type="text/javascript" src="/assets/js/jquery-1.4.2.min.js"></script>
    </head>
    <body>

<?php echo validation_errors('<div class="error">'); ?>
        <div class="form">
<?php
    echo form_open('login/check');
    echo form_fieldset('用户资料','userinfo');
    echo form_label('姓名','name');
    echo form_input('name');
    echo form_label('邮箱','email');
    echo form_input('email');
    echo form_fieldset_close();

    echo form_fieldset('登录资料','userinfo');
    echo form_label('姓名','name');
    echo form_dropdown('permission',$permissions);
    echo form_label('用户名','username');
    echo form_input('username');
    echo form_label('密  码','password');
    echo form_password('password');
    echo form_fieldset_close();

    echo form_submit('submit','登录','id="submit"');
    echo form_close();
?>
        </div>
    </body>
</html>